﻿using System;
using System.Collections.Generic;
using Hourglass.Qrobot.MessageProcesser;
using Hourglass.Qrobot.Models;

namespace Hourglass.Qrobot.Test
{
    public class IntervalProcesser : IIntervalProcesser
    {
        public TimeSpan Interval => TimeSpan.FromSeconds(30);

        public List<ReplyMessage> Process()
        {
            return new List<ReplyMessage>
            {
                new ReplyMessage
                {
                    Target = new ReplyTarget {TargetType = ReplyTargetType.Disscuss, NumberOrName = "测试测试测测测"},
                    Content = "30秒定时测试"
                }
            };
        }
    }
}
